Configure Email Notification

Configure the SMTP feature to generate email notifications for component failures, critical conditions, or general system status.

Before you begin

  • To identify the SMTP server by hostname, you must first configure a DNS client on the switch.

About this task

The SMTP feature is disabled by default.

Procedure

  1. In the navigation pane, expand Configuration > Edit.
  2. Select SMTP.
  3. Select the Globals tab.
  4. In the ServerAddress field, configure the SMTP server address.
  5. In the ReceiverEmailsList field, add email recipients.
    Note

    Note

    You must configure at least one recipient.

  6. Optional: In the SenderEmail field, configure a sender email address to use an address other than the default.
  7. In the DomainName field, configure an SMTP domain name.
  8. In the Port field, configure the TCP port that the client uses to open a connection with the SMTP server.
  9. Optional: In the SystemStatusSendTimer field, configure the status update interval.
  10. Select enable to enable the SMTP client.
  11. Optional: In the LogEventIds field, add or remove log events to the default list that generates an email notification.
  12. Select Apply.

Globals Field Descriptions

Use the data in the following table to use the Globals tab.

Name

Description

ServerAddressType

Specifies the type of server address as either an IPv4 address or a hostname. If you use a hostname, you must configure the DNS client on the switch.

ServerAddress

Specifies the SMTP server address. You can use either a hostname or an IPv4 address. If you use a hostname, you must configure the DNS client on the switch.

ReceiverEmailsList

Specifies the recipient list. The recipients receive the email notification generated by the switch.

You must configure at least one email recipient and can create a maximum of five email recipients. You can specify multiple addresses in a single command by separating them with a comma.

You cannot use quotation marks (“) or commas (,) in email addresses. Other restrictions for the format of the email address follow RFC5321.

The maximum length for the address is 254 characters.

NumOfEmails

Shows the total number of addresses in ReceiverEmailsList.

SenderEmail

Specifies the email address that the system displays it in the From field of the message that the switch generates. By default, the switch uses SystemName@default.com.

DomainName

Specifies the SMTP domain name.

The maximum length is 254 characters.

Port

Specifies the TCP port on the switch that the SMTP client uses to communicate with the SMTP server. The default value is 25.

Note:

You must disable the SMTP feature before you can change an existing SMTP port configuration.

The port you specify must match the port that the SMTP server uses.

SystemStatusSendTimer

Specifies the interval, in seconds, at which the switch sends status information. The default is 30 seconds. A value of 0 means the switch does not send status information.

Enable

Enables or disables the SMTP feature. By default, SMTP is disabled.

LogEventIds

Specifies the list of events that generate email notification. You can specify multiple event IDs in a single command by separating them with a comma.

The event ID can be up to 10 digits in hexadecimal format.

NumOfEventIds

Shows the total number of IDs in LogEventIds.

DefaultLogEventIds

Shows the default list of event IDs that generate email notification.

NumOfDefaultEventIds

Shows the total number of IDs in DefaultLogEventIds.